package com.bwie.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "tb_discount")
public class Discount implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 优惠ID
     */
    @TableId(value = "discount_id", type = IdType.AUTO)
    private Integer discountId;

    /**discount_name_id
     * 优惠名称
     */
    @TableField(value = "discount_name")
    private String discountName;

    @TableField(value = "discount_name_id")
    private String discountNameId;

    /**
     * 活动时间
     */
    @TableField(value = "discount_time")
    private String discountTime;

    /**
     * 卷类型
     */
    @TableField(value = "discount_type")
    private String discountType;

    /**
     * 发送数量
     */
    @TableField(value = "discount_send_num")
    private Integer discountSendNum;

    /**
     * 领取数量
     */
    @TableField(value = "discount_get_num")
    private Integer discountGetNum;

    /**
     * 剩余数量
     */
    @TableField(value = "discount_residue_num")
    private Integer discountResidueNum;

    /**
     * 使用数量
     */
    @TableField(value = "discount_use_num")
    private Integer discountUseNum;

    /**
     * 商品范围
     */
    @TableField(value = "discount_scope")
    private String discountScope;
}